package cn.y.operation.framework.pojo;

import cn.y.operation.framework.constants.Constants;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * @ClassName: QRCode
 * @author: 叶子豪
 * @create: 2020-07-16 10:32
 */
@Data
public class QRCodePojo {

    @JSONField(ordinal = 1)
    public String result = "yes";
    @JSONField(ordinal = 2)
    public String vid;
    @JSONField(ordinal = 3)
    public String endTime;
    @JSONField(ordinal = 4)
    public String company = Constants.COMPANY;

    public QRCodePojo() {
    }

    public QRCodePojo(String result, String vid, String endTime) {
        this.result = result;
        this.vid = vid;
        this.endTime = endTime;
    }

    public QRCodePojo(String result, String vid, String endTime, String company) {
        this.result = result;
        this.vid = vid;
        this.endTime = endTime;
        this.company = company;
    }
}
